package com.weixing.mall.provider.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.weixing.mall.provider.mapper.OrderExpressMapper;
import com.weixing.mall.provider.model.domain.OrderExpress;
import com.weixing.mall.provider.service.IOrderExpressService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 订单模块-订单表 服务实现类
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
@Service
public class OrderExpressServiceImpl extends ServiceImpl<OrderExpressMapper, OrderExpress> implements IOrderExpressService {
    @Override
    public OrderExpress findByOrderId(Long orderId) {
        return getOne(new QueryWrapper<OrderExpress>().eq("order_id",orderId));
    }
}




